package com.andy.blog.dal.service;

import com.andy.blog.dal.domain.MessageDO;
import com.andy.blog.dal.vo.MessageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * Created by andy on 2023/8/4 22:05
 */
public interface MessageDalService {

    /**
     * 条件查询
     */
    List<MessageDO> selectList(MessageVO messageVO);


    /**
     * 新增
     */
    void insertMessage(MessageVO messageVO);


    /**
     * 更新
     */
    void updateMessage(MessageVO messageVO);

    /**
     * 分页查询
     */
    IPage<MessageDO> selectPage(MessageVO messageVO);

    /**
     * 删除
     */
    void deleteById(Long id);
}
